#ifndef BUTTON_H_
#define BUTTON_H_

#include <iostream>

using namespace std;

class Button {
private:
	int lowX,lowY,highX,highY;
	string text;
	int textHighlight;
	float bgr,bgg,bgb;
	float fgr,fgg,fgb;
public:
	Button(int lowX_,int lowY_,int highX_, int highY_, string text_, int textHighlight_);
	void draw();
	void setBg(float r,float g,float b){bgr=r;bgg=g;bgb=b;};
	void setFg(float r,float g,float b){fgr=r;fgg=g;fgb=b;};
	string getText(){return text;};
	bool isClicked(int x,int y);
	void MouseOverHighlight();
};

#endif /* BUTTON_H_ */
